<?php

	session_start();

	require_once ("view/HTMLPageView.php");

	/**
	 * If user is returning, welcome user with name
	 */
	if (isset($_SESSION["session_name"]))
	{
		$returningName = $_SESSION["session_name"];
	}
	else
	{
		$returningName = null;
	}

	$pageView = new \view\HTMLPageView();
	echo $pageView->getPage("Logga in", "Ej Inloggad", $returningName);
